﻿using GraphProcessor;
using IQIGame.Onigao.Logic;
using UnityEngine;

namespace IQIGame.Onigao.GamePlay.Editors
{
    [System.Serializable, NodeMenuItem(SkillEditorConst.Target + "/" + SkillEditorConst.Common, typeof(SkillEditorGraph))]
    public class SkillTargetSelectNode_Common : SkillTargetSelectNode
    {
        [InspectorName("目标选择类型")] public ETargetSelectType type;
        protected override ETargetSelectType targetType => this.type;

        protected override bool checkRelation => true;
        
        protected override SkillCustomConfig CreateConfig()
        {
            return new SkillCustomConfig();
        }
    }
}